namespace Happy.Cms.Domain.EntityFramework.Migrations
{
    using System;
    using System.Data.Entity.Migrations;

    public partial class AlertArticle_201401130209050 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.Articles", "SettingInfo_Published", c => c.Boolean(nullable: false));
            AddColumn("dbo.Articles", "SettingInfo_ShowInTop", c => c.Boolean(nullable: false));
            DropColumn("dbo.Articles", "Setting_Published");
            DropColumn("dbo.Articles", "Setting_ShowInTop");
        }
        
        public override void Down()
        {
            AddColumn("dbo.Articles", "Setting_ShowInTop", c => c.Boolean(nullable: false));
            AddColumn("dbo.Articles", "Setting_Published", c => c.Boolean(nullable: false));
            DropColumn("dbo.Articles", "SettingInfo_ShowInTop");
            DropColumn("dbo.Articles", "SettingInfo_Published");
        }
    }
}
